import { createApp } from 'vue'
import './assets/style.css'
import App from './App.vue'

//引入组件库
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
//引入router
import router from './router/router'
//引入pinia
import { createPinia } from 'pinia'
const pinia = createPinia()
//全局注册组件
import Header from './components/header.vue'

const app = createApp(App);

app.use(Antd)
app.use(router)
app.use(pinia)
app.component('Header', Header)




app.mount('#app');